home *** CD-ROM | disk | FTP | other *** search
- Path: freenet.vancouver.bc.ca!gordonf
- From: gordonf@opus.freenet.vancouver.bc.ca (Gordon Fecyk)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Setting DICE 3's variables to MEMF_PUBLIC
- Date: 28 Jan 1996 18:38:13 GMT
- Organization: Vancouver Regional FreeNet
- Message-ID: <4egfql$1lq@milo.freenet.vancouver.bc.ca>
- NNTP-Posting-Host: opus.freenet.vancouver.bc.ca
- X-Newsreader: TIN [version 1.2 PL2]
-
- I did something evil... I wrote OS patches in DICE C. Registerized
- variables are so useful... but aside fro that,
-
- My program (ATE beta 4) doesn't work too well with VMM_3.2. I didn't
- install VMM yet because I don't believe in it (and it needs MUI) but I
- have a pretty good idea what's happening; I use MEMF_PUBLIC for all my
- AlocVec() and AllocMem() because all this data WILL get accessed
- externally (mainly freshly drawn fonts, etc) but I have no control over
- the memory the DICE startup code allocates, or the memory it sets aside
- for its local variables. Many of these variables sit within patches,
- which run outside my program's process. So, VMM comes along and tries to
- set those memory bits in VM, and crash, when a patch gets run.
-
- I suppose I could just tell ATE users not to use VM for ATE's data
- (controllable in VMM 3.2) but I would like to prevent troubles myself.
- Any ideas?
-
- --
- ============================================================// //========
- = "I am Gordon Fecyk of Winterpeg. Windows is futile." // // =
- = E-MAIL: gordonf@freenet.vancouver.bc.ca // // =
- = Fido: 1:153/9105 (Dark Delusions) \\ \\// // =
- = Phone: +1-604-526-8724 \\ XX // =
- = \X/\X/ =
- = "I am Hitler of BorgSoft. I am the middle inital of William H. Gates. =
- = He has been assimilated. Resistance was futile. Heil Windows. =
- =========================================================================
- (This signature file is the deranged opinion of one fanatical Amiga user
- and should not be taken seriously... until the Gates Thought Police
- confiscate my Amiga...)
-